/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package a1;

/**
 *
 * @author Jourdan
 */
/**Include all the things about a car*/
public class Car {

    private int xPos = 0;
    private int yPos = 0;

    /**The constructor for car*/
    public Car(int x, int y) {
        xPos = x;
        yPos = y;
    }

    /**Getter for XPos*/
    public int getXPos() {
        return xPos;
    }

    /**Setter for XPos*/
    public void setXPos(int x) {
        xPos = x;
    }

    /**Getter for YPos*/
    public int getYPos() {
        return yPos;
    }

    /**Setter for YPos*/
    public void setYPos(int y) {
        yPos = y;
    }
}
